﻿<html DIR="LTR" xmlns:tool="http://www.microsoft.com/tooltip" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
  <head>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" />
    <META NAME="save" CONTENT="history" />
    <title>ISQLServerConnection 成员</title>
    
    <link rel="stylesheet" type="text/css" href="../local/Classic.css">
      
    </link>
    
    <script src="../local/script.js">
      
    </script><script src="../local/script_main.js">&amp;nbsp;</script>
  </head>
  <body>
    <!--Topic built:04/01/2010 05:03:28-->

    
    
    
    
    
    
    
    
    
    <div id="header">
      <table width="100%" id="topTable"><tr>
          <td align="left">
            <span id="headerBold">ISQLServerConnection 成员</span>
          </td>
          <td align="right">
            
          </td>
        </tr></table>
      
      
      
    </div>
    <div id="mainSection">
      
        
        
    <font color="DarkGray">
      
    </font>
    <p />
    
    <p />
  
        <div id="introductionSection" class="section">
    <p>下表列出通过 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 类公开的成员。</p>
  </div><h1 class="heading">构造函数</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <p xmlns="">无。</p>
    </content></div><h1 class="heading">字段</h1><div id="sectionSection1" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" style="background-color: #CCCCCC;" xmlns=""><tr>
            <th colspan="">
              名称
            </th>
            <th colspan="">
              说明
            </th>
          </tr><tr>
          <td colspan="">
            <p>
              <a href="21c55c0b-76f0-411d-aa13-f606d3524b0e.htm">TRANSACTION_SNAPSHOT</a>
            </p>
          </td>
          <td colspan="">
            <p>用来指定快照事务隔离级别。</p>
          </td>
        </tr></table>
    </content></div><h1 class="heading">继承的字段</h1><div id="sectionSection2" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" style="background-color: #CCCCCC;" xmlns=""><tr>
            <th colspan="">
              从下面的类继承而来：
            </th>
            <th colspan="">
              说明
            </th>
          </tr><tr>
          <td colspan="">
            <p>java.sql.Connection</p>
          </td>
          <td colspan="">
            <p>TRANSACTION_NONE、TRANSACTION_READ_COMMITTED、TRANSACTION_READ_UNCOMMITTED、TRANSACTION_REPEATABLE_READ、 TRANSACTION_SERIALIZABLE</p>
          </td>
        </tr></table>
    </content></div><h1 class="heading">方法</h1><div id="sectionSection3" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" style="background-color: #CCCCCC;" xmlns=""><tr>
            <th colspan="">
              名称
            </th>
            <th colspan="">
              说明
            </th>
          </tr><tr>
          <td colspan="">
            <p>
              <a href="cb911adf-4691-4e57-8fb3-bdd11bef7a2e.htm">clearWarnings</a>
            </p>
          </td>
          <td colspan="">
            <p>清除所报告的有关此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的所有警告。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="f0f26585-bdf7-4737-b434-8c7e115c8e94.htm">close</a>
            </p>
          </td>
          <td colspan="">
            <p>立即释放此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的数据库和 JDBC 资源，而非等待它们自动释放。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="c7346165-51bf-4844-b64c-29833c147236.htm">commit</a>
            </p>
          </td>
          <td colspan="">
            <p>使自上次提交或回滚以来所做的所有更改成为永久更改，并释放当前由此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象持有的任何数据库锁。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="630a93b0-6e3c-4255-a007-1097ce0ee243.htm">createBlob</a>
            </p>
          </td>
          <td colspan="">
            <p>创建不包含任何数据的 <b>java.sql.Blob</b> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="58b0865a-1cde-4046-9761-51e471294023.htm">createClob</a>
            </p>
          </td>
          <td colspan="">
            <p>创建不包含任何数据的 <b>java.sql.Clob</b> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="fa160884-394e-4fb2-a6e8-0437b81c149d.htm">createNClob</a>
            </p>
          </td>
          <td colspan="">
            <p>创建不包含任何数据的 <b>java.sql.NClob</b> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="6d043ba9-b8ec-41d3-bb22-ad2c4aebda6f.htm">createStatement</a>
            </p>
          </td>
          <td colspan="">
            <p>创建用于把 SQL 语句发送到数据库的 <a href="ec24963c-8b51-4838-91e9-1fbfa2347451.htm">SQLServerStatement</a> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="cf5bfcdd-bc03-4c5b-b554-d8a8a4067e93.htm">createSQLXML</a>
            </p>
          </td>
          <td colspan="">
            <p>创建不包含任何数据的 <b>java.sql.SQLXML</b> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="af1f67f4-f568-4e58-abcc-5c809a89b547.htm">getAutoCommit</a>
            </p>
          </td>
          <td colspan="">
            <p>检索此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的当前自动提交模式。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="e87ef65f-4b5a-4e1c-8db5-7f0932390bb0.htm">getCatalog</a>
            </p>
          </td>
          <td colspan="">
            <p>检索此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的当前目录名称。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="241536e1-fae6-4980-85a5-d8cfcd50b8bd.htm">getClientInfo</a>
            </p>
          </td>
          <td colspan="">
            <p>检索有关 JDBC 驱动程序支持的客户端信息属性信息。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="b1644791-c36a-4837-86c4-9299537ee1c2.htm">getHoldability</a>
            </p>
          </td>
          <td colspan="">
            <p>检索使用此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象创建的 <a href="eaffcff1-286c-459f-83da-3150778480c9.htm">SQLServerResultSet</a> 对象的当前保持能力。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="86223cb5-3bf4-489a-8c82-669a91764f2b.htm">getMetaData</a>
            </p>
          </td>
          <td colspan="">
            <p>检索包含有关数据库的元数据的 <a href="8b8049d0-8c6d-4476-866b-098709f37eec.htm">SQLServerDatabaseMetaData</a> 对象，对此数据库而言，此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象表示一项连接。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="179772e9-6572-4ce5-83c5-ab2b196cee67.htm">getTransactionIsolation</a>
            </p>
          </td>
          <td colspan="">
            <p>检索此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的当前事务隔离级别。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="c81bcf9a-2e24-4dfc-8c04-d612e9b7baca.htm">getTypeMap</a>
            </p>
          </td>
          <td colspan="">
            <p>检索与此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象关联的 <b>Map</b> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="15af39bf-6285-44cc-a021-7341e7a055c4.htm">getWarnings</a>
            </p>
          </td>
          <td colspan="">
            <p>检索调用此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象时报告的第一个警告。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="3560ab18-4350-4d02-9716-439f0c2f7142.htm">isClosed</a>
            </p>
          </td>
          <td colspan="">
            <p>指示此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象是否已关闭。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="902fd2c1-05e0-436e-9779-c048cdb8475a.htm">isReadOnly</a>
            </p>
          </td>
          <td colspan="">
            <p>指示此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象是否处于只读模式。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="3b0a8bbf-9369-4456-9ab8-1434ccacdd7e.htm">isValid</a>
            </p>
          </td>
          <td colspan="">
            <p>指示此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象是否已关闭以及是否仍然有效。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="2188a6e1-792f-47bd-b207-1d01741231b2.htm">nativeSQL</a>
            </p>
          </td>
          <td colspan="">
            <p>将给定的 SQL 语句转换为数据库服务器的本机 SQL 语法。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="265b024c-898a-4bd0-98b5-f06076717b9e.htm">prepareCall</a>
            </p>
          </td>
          <td colspan="">
            <p>创建用于调用数据库存储过程的 <a href="30710a63-c05d-47d9-9cf9-c087a1c76373.htm">SQLServerCallableStatement</a> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="bd4e4085-f704-4a73-b6a7-7d443d564728.htm">prepareStatement</a>
            </p>
          </td>
          <td colspan="">
            <p>创建用于将参数化的 SQL 语句发送到数据库的 <a href="a8481c06-fbba-432b-8c69-4f4619c20ad4.htm">SQLServerPreparedStatement</a> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="b6b625ea-c7ce-4a32-a9e0-6d2b4321bfd8.htm">releaseSavepoint</a>
            </p>
          </td>
          <td colspan="">
            <p>从当前事务中删除指定 <a href="1ae7db7b-959f-4142-8d9f-aa427869c6ac.htm">SQLServerSavepoint</a> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="cda48c7e-9ce1-42c4-8fba-f6641cecb093.htm">rollback</a>
            </p>
          </td>
          <td colspan="">
            <p>撤消在当前事务中所做的所有更改并释放当前由此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象持有的任何数据库锁。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="db1e22d2-e53f-474e-8c99-cb1fff7f491a.htm">setAutoCommit</a>
            </p>
          </td>
          <td colspan="">
            <p>将此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的自动提交模式设置为给定状态。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="553c0603-c07d-436a-86eb-3ba6b51bd696.htm">setCatalog</a>
            </p>
          </td>
          <td colspan="">
            <p>设置指定的目录名称，以选择在其中使用此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的数据库的子空间。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="9eaafb0e-8bfa-456c-a481-8e06e5d539e1.htm">setClientInfo</a>
            </p>
          </td>
          <td colspan="">
            <p>设置客户端信息属性的值。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="552eebd0-4c38-43f0-961f-35244f99109b.htm">setHoldability</a>
            </p>
          </td>
          <td colspan="">
            <p>将使用此 <a href="1ae7db7b-959f-4142-8d9f-aa427869c6ac.htm">SQLServerSavepoint</a> 对象创建的 <a href="eaffcff1-286c-459f-83da-3150778480c9.htm">SQLServerResultSet</a> 对象的保持能力更改为给定保持能力。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="bd11fd50-f092-43a0-a6bc-c63e70cff8da.htm">setReadOnly</a>
            </p>
          </td>
          <td colspan="">
            <p>将此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象设置为只读模式，以此作为 JDBC 驱动程序启用数据库优化的提示。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="c39c6b4f-b9e2-423b-94ae-9f82d9e6d08d.htm">setSavepoint</a>
            </p>
          </td>
          <td colspan="">
            <p>在当前事务中创建未命名的保存点，并返回代表它的新 <a href="1ae7db7b-959f-4142-8d9f-aa427869c6ac.htm">SQLServerSavepoint</a> 对象。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="6a8fa4d3-5237-40f8-8a02-b40a3d7a1131.htm">setTransactionIsolation</a>
            </p>
          </td>
          <td colspan="">
            <p>尝试将此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的事务隔离级别更改为给定级别。</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>
              <a href="bffd20a6-1310-44b0-9602-974500481fa6.htm">setTypeMap</a>
            </p>
          </td>
          <td colspan="">
            <p>安装给定的 <b>TypeMap</b> 对象，作为此 <a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection</a> 对象的类型映射。</p>
          </td>
        </tr></table>
    </content></div><h1 class="heading">继承的方法</h1><div id="sectionSection4" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" style="background-color: #CCCCCC;" xmlns=""><tr>
            <th colspan="">
              从下面的类继承而来：
            </th>
            <th colspan="">
              方法
            </th>
          </tr><tr>
          <td colspan="">
            <p>java.lang.Object</p>
          </td>
          <td colspan="">
            <p>clone、equals、finalize、getClass、hashCode、notify、notifyAll、toString、wait</p>
          </td>
        </tr><tr>
          <td colspan="">
            <p>java.lang.Wrapper</p>
          </td>
          <td colspan="">
            <p>isWrapperFor、unwrap</p>
          </td>
        </tr></table>
    </content></div><span id="seeAlsoSpan"><h1 class="heading">请参阅</h1></span><div id="seeAlsoSection" class="section" name="collapseableSection"><a href="937292a6-1525-423e-a2b2-a18fd34c2893.htm">SQLServerConnection 类</a><br /><br /></div><!--[if gte IE 5]>
			<tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/><tool:tip element="roleInfoSpan" avoidmouse="false"/>
		<![endif]-->
      <div id="footer" class="section">
        
		<hr />
		
		<span id="fb" class="feedbackcss">
			
			
		</span>
		
		<a href="9bad553b-9e70-4696-8499-2e35f772a1e0.htm">
			
			© 2010 Microsoft Corporation。保留所有权利。
		</a>
 	
	
      </div>
    </div>
  </body>
</html>